/*package com.objectville.restaurant;

import java.util.List;

public class PancakeHouseMenuIterator implements Iterator {
	
	private List<MenuItem> menuItems;
	private int index = 0;
	
	public PancakeHouseMenuIterator(List<MenuItem> menuItems) {
		this.menuItems = menuItems;
	}
	

	@Override
	public boolean hasNext() {
		if((menuItems == null) 
				|| (menuItems.size() == 0)
				|| (index >= menuItems.size())
				|| (menuItems.get(index) == null)) {
			return false;
		}
		
		return true;
	}

	@Override
	public Object next() {
		MenuItem menuItem = menuItems.get(index);
		index++;
		return menuItem;
	}

}*/
